/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cms.sessionbean;

import dto.Conferenceitem;
import dto.Confitemorder;
import dto.Itemauthors;
import dto.Participant;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author TauPo
 */
@Remote
public interface ConferenceItemApplicationRemote {
   public boolean addConferenceItem(Conferenceitem item);
   public boolean deleteConferenceItem(String conferenceName, String itemName);
   public boolean updateConferenceItem(Conferenceitem item);
   public Conferenceitem getConferenceItem(String conferenceName,String itemName);
   public List<Conferenceitem> getAllConferenceItems();
   public List<Conferenceitem> getConfercenItems(String itemName);
   public List<Conferenceitem> getConfercenItemsByConferenceName(String conferenceName);
   public boolean addAuthor(String conferenceName, String itemName, String userName, boolean isFirstAuthor);
   public List<Itemauthors> getItemAuthors(String itemName);
   public List<Itemauthors> getItemAuthors(String conferenceName,String itemName);
   public Confitemorder bookConferenceItem(String userName,String conferenceName,String itemName);
   public boolean unbookConferenceItem(String userName,String conferenceName,String itemName);
  


   
    
}
